<template  >
  <div>
                     
    <el-select v-model="value" @change="change"  :popper-append-to-body="false" placeholder="请选择">
      <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-option>
    </el-select>
  </div>
</template>
<script>
export default {
  props: {
    options: {
      type: Array,
      default: []
    },
    value: {
      type: Number,
      default:0
    },

  },
  data() {
    return{}
  },
 
  methods:{
    change(e){
       this.$emit("change",e)
    }
  }
};
</script>
<style>
</style>